﻿using Nest;
using System;
using System.Collections.Generic;
using System.Text;

namespace ZYHand.Entity
{
    [ElasticsearchType(IdProperty = "userID", RelationName = "User")]
    public class User
    {
        [Text(Analyzer = "ik_max_word")]
        public string userID { get; set; }

        [Text(Analyzer = "ik_max_word")]
        public string mobile { get; set; }

        [Text(Analyzer = "ik_max_word")]
        public string name { get; set; }

        [Text(Analyzer = "ik_max_word")]
        public string remark { get; set; }
    }
}
